package org.kitrum.example.spring.resolvable;

import org.kitrum.example.model.UserBean;
import org.springframework.core.ResolvableType;

/**
 * @author : Kun
 * @version : 1.0
 * @date : 2021/01/22 19:59
 **/
public class ResolvableTest {
    public static void main(String[] args) {
        //类解析工具
        ResolvableType resolvableType = ResolvableType.forType(UserBean.class);
        ResolvableType resolvableClass = ResolvableType.forClass(UserBean.class);
        System.out.println(resolvableType.getType());
        System.out.println(resolvableType.resolve());
    }
}
